package com.yumeko.dao;

import com.yumeko.entity.TAccount;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * (TAccount)表数据库访问层
 *
 * @author Zheng Hao
 * @since 2020-03-20 20:53:57
 */
public interface TAccountDao {
    int decrease(@Param("userId") Long userId,
                 @Param("money") BigDecimal money);
}